<?php

namespace mpend\modules\share\controllers;

use Yii;
use mpend\components\Controller;
use mpend\modules\share\models\ShareInviteView;

/**
 * 邀请详情管理
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class InviteController extends Controller {

    /**
     * @inheritdoc
     */
    protected function verbs() {
        return [
            '*' => ['GET']
        ];
    }

    /**
     * @inheritdoc
     */
    public function actionView($id) {
        return ShareInviteView::findOne($id);
    }

}
